import _axios from './axios';

// nav新品推介
function NavColourmakeup() {
    return _axios({
        url: "/goods",
        params: {
            "project_id": 74,
            "classify_id": 483
        },
    })
}

function carousel() {
    return _axios({
        url: "/carousel",
        params: {
            "project_id": 151,
            "site_id": 1,
        },
    })
}
// nav彩妆
function ProductSeries() {
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 484
        },
    })
}

// nav护肤
function Skincare(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 487
        },
    })
}

// banner
function banner(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 488
        },
    })
}
// banner2
function bannertop(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 489
        },
    })
}

// 获取单个信息
function details(id){
    return _axios({
        url: "/goods/"+id,
        method:'GET'
    })
}
// 口红
function lipstick(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 490
        },
    })
}
function makeup(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 491
        },
    })
}
function EXmakeup(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 496
        },
    })
}
function perfume(){
    return _axios({
        url: "/goods",
        params: {
            "project_id": 151,
            "classify_id": 497
        },
    })
}
export  {NavColourmakeup,carousel,ProductSeries,Skincare,banner,bannertop,details,lipstick,makeup,EXmakeup,perfume};